package com.xuecheng.search.domain.model.dto;

import com.xuecheng.base.model.PageResult;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * @Author: LiJunXi
 * @Description:
 * @Date: 2024-09-01  10:50
 */
@Data
@ToString
public class EsPageResult<T> extends PageResult {

    // 大分类列表
    List<String> mtList;
    // 小分类列表
    List<String> stList;

    public EsPageResult(List<T> items, long counts, long page, long pageSize,
                        List<String> mtList, List<String> stList) {
        super(items, counts, page, pageSize);
        this.mtList = mtList;
        this.stList = stList;
    }

}